package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dao.DishDao;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.pojo.Dish;

public interface DishService extends IService<Dish>{
    void addDishAndFlavor(DishDto dishDto);

    //根据id查询菜品，用于编辑时回显数据
    DishDto selectDishAndFlavorById(Long id);

    void updateDishAndFlavor(DishDto dishDto);
}
